import {
  get,
  post,
  put,
  del
} from '../utils/request.js'

//生成订单
export const addOrder = function(params) {
  return post('/customer/order', params);
}

//获取订单
export const getOrder = function(params) {
  return get('/customer/order', params);
}
